/*
 *代码由框架生成,此处任何更改都可能导致被代码生成器覆盖
 *所有业务编写全部应在Partial文件夹下WarehouseLocationService与IWarehouseLocationService中编写
 */
using Mercury.Business.IRepositories;
using Mercury.Business.IServices;
using Mercury.Core.BaseProvider;
using Mercury.Core.Extensions.AutofacManager;
using Mercury.Entity.DomainModels;

namespace Mercury.Business.Services
{
    public partial class WarehouseLocationService : ServiceBase<WarehouseLocation, IWarehouseLocationRepository>
    , IWarehouseLocationService, IDependency
    {
        public WarehouseLocationService(IWarehouseLocationRepository repository)
        : base(repository)
        {
            Init(repository);
        }
        public static IWarehouseLocationService Instance
        {   
            get { return AutofacContainerModule.GetService<IWarehouseLocationService>(); }
        }
    }
 }
